home *** CD-ROM | disk | FTP | other *** search
- Decrements or shortens values of variables.
-
- DECR [+ | -]var [BY {number | string}]
-
- [+|-]var is the name of a variable possibly preceded by a plus
- or minus sign. DECR uses the sign to decide whether to
- operate at the end or at the beginning of the string
- contained in var.
- number is a signed integral number which DECR subtracts from
- var when var is numeric. When var is not numeric and the
- number is positive, DECR removes characters from var
- (when the number is negative, DECR adds spaces instead).
- string is a non-numeric string. DECR removes it from var
- regardless of whether var is numeric or not.
-
- Defaults: "DECR var" is equivalent to "DECR +var BY 1"
-